home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 1.iso / toolbox / src / exampleCode / opengl / GLUT / README.inventor < prev    next >
Text File  |  1996-11-11  |  2KB  |  58 lines

  1. GLUT Open Inventor users,
  2.  
  3. BUILD INSTRUCTIONS
  4. ===================
  5.  
  6. To enable building of the GLUT Open Inventor examples (assuming
  7. an Silicon Graphics workstation running IRIX), do the following:
  8.  
  9.   1)  Make sure you have the Open Inventor development (inventor_dev)
  10.       and the C++ development (c++_dev) products installed.
  11.  
  12.   2)  Run "mkmkfiles.sgi" in this directory.
  13.  
  14.   3)  Create a file in this directory called Inventor.mk with
  15.       the following line:
  16.  
  17. INVENTOR = inventor
  18.  
  19.   4)  Execute "make" in this directory.
  20.  
  21. NOTES
  22. ======
  23.  
  24.   o  The GLUT Open Inventor examples can be found in the
  25.      progs/inventor subdirectory.
  26.  
  27.   o  To build the progs/inventor subdirectory if you use Imakefiles,
  28.      try:
  29.  
  30. cd progs
  31. make SUBDIRS=inventor Makefiles
  32. cd inventor
  33. make
  34.  
  35.      Since I'm not familiar with how Open Inventor is installed on
  36.      non-Silicon Graphics machines, you may have to adapt the Inventor
  37.      related lines in Glut.cf to your system's Open Inventor
  38.      installation.
  39.  
  40.   o  Using the Imakefile requires an X11R6-based set of
  41.      /usr/lib/X11/config rules that support C++.
  42.  
  43.   o  When you use Open Inventor with GLUT, you can access all
  44.      the non-window system based features of Inventor like the scene
  45.      graph, etc.  Specifically, you won't be able to use the
  46.      SoOffscreenRenderer or SoXt based classes.
  47.  
  48.   o  Link with -lInventor instead of -lInventorXt to make sure
  49.      you only get the non-window system based features of Inventor.
  50.  
  51.   o  See Chapter 17 "Using Inventor with OpenGL" in the Inventor
  52.      Mentor (Addison-Wesley, ISBN 0-201-62495-8) for a discussion about
  53.      using Open Inventor outside the context of Open Invetor's Xt
  54.      widget frame work.
  55.  
  56. - Mark Kilgard
  57.   June 18, 1995
  58.